<template>
  <div id="app">
    <!-- Delete: <img alt="Vue logo" src="./assets/logo.png"> -->
    <HelloWorld msg="Welcome to Your Vue.js App"/>
    <MineSweeper /> <!-- 确保扫雷组件被正确渲染 -->
  </div>
</template>

<script>
import MineSweeper from './components/MineSweeper.vue'; // 确保组件路径正确

export default {
  name: 'App',
  components: {
    MineSweeper, // 确保组件已注册
  },
};
</script>

<style>
/* 添加全局样式，使内容居中 */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>